<?php

abstract class RL_Config_Storage implements ConfigStorage
{
	public function create ($type, $config, $params=NULL)
	{
		$cls = __CLASS__ . '_' . $type;
		require_once dirname(__FILE__).'/Storage/' . $type .'.php';
		$o = new $cls($config);
		if ($params) foreach ($params as $k =>$v) {
			$o->$k = $v;
		}
		return $o;
	} // end of function create

	public function find ($key) {}
	public function save ($key, $value) {}
}

